@ECHO.
:: Backup MSI name where existing application will be backed up to
@SET MSI=My.Project.BAK.msi
:: Application name to be backed up
@SET APPLICATION=My.Project
:: Binding configuration for the above application
@SET APPLICATIONBINDING=My.Project.BindingInfo.BAK.xml

ECHO
ECHO
ECHO Taking backup of %APPLICATION% application to %MSI% with %APPLICATIONBINDING% bindings.
@btstask ExportApp -ApplicationName:%APPLICATION% -Package:".\%MSI%"
@btstask ExportBindings -ApplicationName:%APPLICATION% -Destination:".\%APPLICATIONBINDING%"
@btstask RemoveApp -ApplicationName:%APPLICATION%

pause;